package com.niiwoo.civet.mobile.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by dell on 2017/12/15.
 * Description：civet-parent
 */
@Setter
@Getter
@ApiModel
public class NoticeMessageResponseVO {

    @ApiModelProperty("公告列表")
    private List<NoticeOutline> messageList = new ArrayList<>();

    @ApiModelProperty("总页数")
    private int totalPage;

    @ApiModelProperty("总记录数")
    private int totalCount;

    @Setter
    @Getter
    @ApiModel
    public static class NoticeOutline{

        @ApiModelProperty("公告id")
        private Integer noticeId;

        @ApiModelProperty("公告标题")
        private String noticeTitle;

        @ApiModelProperty("公告时间")
        private String noticeTime;

        @ApiModelProperty("公告地址")
        private String noticeURL;

        @ApiModelProperty("是否置顶0:未置顶，1已置顶")
        private int isStick;

    }


}
